package com.welfare.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.welfare.entity.WelfareRecord;

public interface IWelfareRecordService {
	public void saveOrUpdate(WelfareRecord welfareRecord);
	public void delete(WelfareRecord welfareRecord);
	public void delete(List<Long> ids);
	public void deleteSelf(WelfareRecord welfareRecord);
	public WelfareRecord findOne(Long id);
	public List<WelfareRecord> findAll();
	public Page<WelfareRecord> findAll(Specification<WelfareRecord> spec, Pageable pageable);
}
